//引用vue
import Vue from 'vue';

//引用自定义的App文件
import App from '@/components/App.vue';
//引用自定义的router文件
import router from '@/router/index.js';
import ins from './config.js';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

Vue.use(ins) //两者相等ins(Vue,{a:1});




new Vue({
  el:'#app',
  //对应上面的router
  router,
  template:'<div><App></App></div>',
  components:{
    //对应上面的App
    App,
  }
})


